package com.ruoyi.system.service;

import com.ruoyi.system.domain.Work;
import org.springframework.stereotype.Component;

import java.util.List;


public interface IWorkService {
    //查询所有数据
    List<Work> selectAll();
    //新增作品
    int addWork(Work work);
    int editWork(Work work);
    Long deleteWork(Long workId);
    //条件查询数据


    List<Work> selectData(Work work);
}
